<%@page pageEncoding="utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>

<s:form action="convert" method="post" theme="simple">
  <table width="50%" border="2">
    <tr>
      <td> brand </td>
      <td> model </td>
      <td> price </td>
    </tr>
    <s:iterator value="phoneList" status="st">
    <tr>
      <td> <s:property value="'empList['+#st.index+'].brand'" /> | <s:textfield name="%{'phoneList['+#st.index+'].brand'}" /> </td>
      <td> <s:textfield name="%{'phoneList['+#st.index+'].model'}" /> </td>
      <td> <s:textfield name="%{'phoneList['+#st.index+'].price'}" /> </td>
    </tr>
    </s:iterator>
  </table>
  <s:submit value="Submit" />
</s:form>